EntityDAC

IObjectEnumerable<T>.First

Returns the first element of an enumeration.

Unit

Syntax

Remarks

Use the method to obtain the first element of an enumeration. The method throws an exception if the enumeration contains no elements. To instead return nil when the enumeration is empty, use the FirstOrDefault method.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback